<?php

namespace App\Http\Requests\Admin;


use App\Http\Requests\FormRequest;

class RoleRequest extends FormRequest
{
    public function rules(): array
    {
        $pageRules = $this->pageRules();
        return [
            ...$pageRules,
            'name' => 'nullable|string|max:18',
            'slug' => 'nullable|string|max:18'
        ];
    }
}
